<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort() + "/";
%>
<%
    response.setHeader("Pragma", "No-cache");        //HTTP     1.1
    response.setHeader("Cache-Control", "no-cache");//HTTP     1.0
    response.setHeader("Expires", "0");               //防止被缓存
%>
<c:set var="appPath" value="<%=basePath%>"/>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <base href="<%=basePath%>">

    <title>My JSP 'MyJsp.jsp' starting page</title>

    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
    <link rel="stylesheet" type="text/css" href="css/common.css">
    <link rel="stylesheet" type="text/css" href="plugin/easyUI/easyui.css">
    <link rel="stylesheet" type="text/css" href="plugin/easyUI/icon.css">
    <link rel="stylesheet" href="plugin/ztree/zTreeStyle.css" type="text/css">
    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="plugin/easyUI/jquery.easyui.min.js"></script>
    <script>
        var applicationContextPath = '${appPath}';
        $(document).ready(function(){
        })
    </script>

</head>
<body class="easyui-layout">
<div region="north" split="false"
     style="height: 70px; overflow: hidden">
    <div
            style="height: 100%; background: #B3DFDA; text-align: center; padding: 24px;">
        测试
    </div>
</div>

<div region="south" split="false"
     style="height: 30px; overflow: hidden">
    <div
            style="height: 100%; background: #A9FACD; text-align: center; padding: 6px;">
        &copy;2013 toolan
    </div>
</div>

<div region="west" split="false" style="width: 200px; padding: 1px;">
    <div id="menu" class="easyui-accordion"
         data-options="fit:true,border:false">
        <div title="Title1" data-options="selected:true"
             style="padding: 10px;">
            <div>
                <a href="#" onclick="addTab('测试菜单一','demo/index.do')">测试菜单一</a>
            </div>
            <div>
                <a href="#" onclick="addTab('student','student/index.do')">student</a>
            </div>
            <div>
                <a href="#" onclick="addTab('clazz','clazz/index.do')">clazz</a>
            </div>
         <%--   <div>
                <a href="#" onclick="addTab('student','student/index.do')">测试菜单一</a>
            </div>--%>

        </div>
        <div title="Title2" style="padding: 10px;">
            content2
        </div>
        <div title="Title3" style="padding: 10px">
            content3
        </div>
    </div>
</div>

<div data-options="region:'center',iconCls:'icon-ok'">
    <div class="easyui-tabs" data-options="fit:true,border:false,plain:true,tools:'#tab-tools'" id="content"></div>
</div>
</body>
<script type="text/javascript" src="plugin/ztree/jquery.ztree.core-3.5.js"></script>
<script type="text/javascript" src="${appPath}view/js/common/common.js"></script>
<script type="text/javascript" src="${appPath}view/js/common/grid.js"></script>
</html>
